home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / maple_st.swf / scripts / frame_3 / DoAction_11.as < prev    next >
Encoding:
Text File  |  2010-04-12  |  692 b   |  37 lines

  1. function walkshow()
  2. {
  3.    if(player.ani._currentframe != 2 && _root.jump == false)
  4.    {
  5.       player.ani.gotoAndStop(2);
  6.    }
  7. }
  8. function restshow()
  9. {
  10.    if(player.ani._currentframe != 1 && atk == false)
  11.    {
  12.       player.ani.gotoAndStop(1);
  13.    }
  14. }
  15. function normalatk()
  16. {
  17.    if(player.ani._currentframe != 3 && atk == false)
  18.    {
  19.       player.ani.gotoAndStop(3);
  20.       _root.player.ani.atkani.gotoAndPlay(2);
  21.    }
  22. }
  23. function swingatk()
  24. {
  25.    if(player.ani._currentframe != 3 && atk == false)
  26.    {
  27.       player.ani.gotoAndStop(11);
  28.    }
  29. }
  30. function alertshow()
  31. {
  32.    if(player.ani._currentframe != 4 && atk == false)
  33.    {
  34.       player.ani.gotoAndStop(4);
  35.    }
  36. }
  37.